<?php

namespace co2\dev\v0_0_0\bash;

use co2\dev\v0_0_0 as co2;

class ln extends co2\bash

{
	public function
	__construct
	(
		$from,
		$to,
		$symbolic=true
	)
	{
		$this->cmd='ln ';
		
		if($symbolic)
		$this->cmd.='-s ';
		
		$this->cmd.="$from $to";
		
		$this->exec();
	}
}
